package org.androidtown.ui.viewflipper;

import android.app.Activity;
import android.os.Bundle;
import android.view.ViewGroup;

/**
 * ViewFlipper
 *
 * @author Mike
 */
public class SampleViewFlipperActivity extends Activity {

	ScreenViewFlipper flipper;

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        // create a DataGridView instance
        ViewGroup.LayoutParams params = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT);
        flipper = new ScreenViewFlipper(this);

        setContentView(flipper, params);

    }
}